package com.oneraku.service.listener;

import lombok.Data;
import org.springframework.context.ApplicationEvent;

/**
 * @Author: hui.ren@huberbuy.com
 * @Date: 2019-09-05 21:17
 */
public class SmsEvent extends ApplicationEvent {
    public SmsEvent(Object source, String phoneNumber, String verifyCode,String type) {
        super(source);
        this.phoneNumber = phoneNumber;
        this.verifyCode = verifyCode;
        this.type = type;
    }
    /**
     * 手机号码
     */
    private String phoneNumber;
    /**
     * 手机验证码
     */
    private String verifyCode;
    /**
     * 验证码类型
     */
    private String type;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public String getVerifyCode() {
        return verifyCode;
    }

    public void setVerifyCode(String verifyCode) {
        this.verifyCode = verifyCode;
    }
}
